#include "ZeroMutex.h"

ZeroMutex::ZeroMutex()
{
#if defined(ZTHR_PTHREAD)
	pthread_mutex_init(&mMutex, NULL);
#elif defined(ZTHRE_WIN32)
#endif
}

ZeroMutex::~ZeroMutex()
{
}

void ZeroMutex::lock()
{
#if defined(ZTHR_PTHREAD)
	pthread_mutex_lock(&mMutex);
#elif defined(ZTHRE_WIN32)
#endif
}

void ZeroMutex::unlock()
{
#if defined(ZTHR_PTHREAD)
	pthread_mutex_unlock(&mMutex);
#elif defined(ZTHRE_WIN32)
#endif
}

